home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / knowhow4 / blpxtab.h < prev    next >
C/C++ Source or Header  |  1994-10-10  |  1KB  |  36 lines

  1. #ifndef __BLOCK_PARADOX_TABLE_H_
  2. #define __BLOCK_PARADOX_TABLE_H_
  3.  
  4. #include "blk.h"
  5. #include "khpxtab.h"
  6.  
  7. class BlockPXTable : public Block
  8.     {
  9.     public:
  10.     KH_PX_Table* table;
  11.     Element* home_element;
  12.     Element* end_element;
  13.     Element* ok_element;
  14.  
  15.     BlockPXTable(rect coordinates,           // Screen cells
  16.            char* tabName,                     // Table name
  17.            char* fName = "",                  // File for swapping
  18.            char* h = "",                      // Header text
  19.            int s = 0,                         // Shadow, pixels
  20.            BORDERS b_type = SHOW_BORDER,      // Border type
  21.            BORDERS hdr_b_type = SHOW_BORDER,  // Border around header
  22.            int res = FIXED,                   // Resize status
  23.            int hdr_pat = 0,                   // Attention! No window pattern.
  24.            int elem_pat = 0,                  // Buttons
  25. // Use last 3 arguments for creating new table.
  26.            int fNo = 0,               // Number of fields in table
  27.            char** fields = NULL,      // Fields names array
  28.            char** types = NULL);       // Fields types array
  29.  
  30.     virtual void hide();
  31.     virtual void rearrange();
  32.     };
  33.  
  34.  
  35. #endif __BLOCK_PARADOX_TABLE_H_
  36.